package org.i1510.common.service;
	import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.i1510.common.bean.PageBean;
import org.i1510.common.po.SysPop;
import org.i1510.common.utils.web.ResultMapper;

	/**
	 * @author Administrator
	 *
	 */
	public interface  ISysPopService {
		/********************以下是标准接口*********************************************************/		
		/**
		*@Author Rambo
		*@Desc：存在即更新，否则为新增 根据主键来判断
		*@param sysPop
		*@param request
		*@return TODO
		*@Version  ISysPopService.java,v 1.1 2014-8-29 下午5:44:18 
		*/
		public ResultMapper save(SysPop sysPop,HttpServletRequest request);
		/**
		*@Author Rambo
		*@Desc：删除数据(尽量使用伪删除功能deleteX)
		*@param docId
		*@return TODO
		*@Version  ISysPopService.java,v 1.1 2014-8-29 下午2:55:37 
		*/
		public ResultMapper delete(String docId);		
		/**
		*@Author Rambo
		*@Desc：根据ID查找
		*@param docId
		*@return TODO
		*@Version  ISysPopService.java,v 1.1 2014-8-29 下午2:57:26 
		*/
		public SysPop findById(String docId);
		/**
		*@Author Rambo
		*@Desc：根据批量ID查找
		*@param docIds
		*@return TODO
		*@Version  ISysPopService.java,v 1.1 2014-8-29 下午2:57:48 
		*/
		public List<SysPop> findByIds(List<String> docIds);
		/**
		*@Author Rambo
		*@Desc：sysPop分页处理
		*@param sysPop
		*@param pageBean
		*@return TODO
		*@Version  ISysPopService.java,v 1.1 2013-11-26 下午4:45:32 
		*/
		public List getPage(SysPop sysPop,PageBean pageBean,Map conditions);
		/**
		*@Author Rambo
		*@Desc：获取总页数
		*@param sysPop
		*@return TODO
		*@Version  ISysPopService.java,v 1.1 2013-11-26 下午5:27:54 
		*/
		public int getPageCount(SysPop sysPop,Map conditions);
		/********************以上是标准接口*********************************************************/	
		/**
		*@Author Rambo
		*@Desc：批量保存
		*@param list
		*@return TODO
		*@Version  ISysPopService.java,v 1.1 2014-9-5 下午3:00:06 
		*/
		public ResultMapper saveAll(List<SysPop> list) ;
		/**
		*@Author Rambo
		*@Desc：获取用户权限列表
		*@param conditions
		*@return TODO
		*@Version  ISysPopService.java,v 1.1 2014-9-5 下午4:51:31 
		*/
		public List getSysUser4Pop(Map conditions);
		
	}
	
